/* 紧凑型表格样式 */
.compact-table {
  margin-top: 15px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
  font-size: 12px;
}

.compact-table th {
  background-color: #f5f7fa;
  color: #606266;
  font-weight: 600;
  padding: 4px 0;
  font-size: 12px;
  height: 28px;
  text-align: center;
}

.compact-table td {
  padding: 3px 2px;
  vertical-align: middle;
  font-size: 12px;
  height: auto;
}

.compact-table .el-table__header {
  border-bottom: 1px solid #ebeef5;
}

.compact-table .compact-row {
  height: auto !important;
}

.compact-table .compact-row:hover {
  background-color: #f9fafc !important;
}

.compact-table .el-table__row {
  transition: all 0.3s;
  height: auto !important;
}

.compact-table .cell {
  padding-left: 5px;
  padding-right: 5px;
  line-height: 1.2;
}

.compact-table .action-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  padding: 2px;
}

.compact-table .el-button--small {
  padding: 1px 5px;
  font-size: 11px;
  min-height: 20px;
  height: 20px;
  line-height: 1;
}

.compact-table .el-button {
  margin: 0;
}

.compact-table .status-tag {
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 2px;
}

.compact-table .image-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px 0;
  text-align: center;
}

.compact-table .table-image {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.compact-table .table-image:hover {
  transform: scale(1.05);
}

.compact-table .time-cell {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #606266;
  font-size: 12px;
}

.compact-table .time-cell .el-icon {
  font-size: 11px;
}

.compact-table .title-cell {
  padding: 1px 0;
}

.compact-table .post-title-text {
  font-weight: 500;
  color: #303133;
  transition: color 0.2s;
  font-size: 12px;
}

.compact-table .post-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.2;
  padding: 1px 0;
  max-height: 32px;
  font-size: 12px;
}

.compact-table .author-info {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
}

.compact-table .no-image {
  color: #909399;
  font-size: 11px;
  font-style: italic;
}

/* 全局表头居中样式 */
.el-table th {
  text-align: center !important;
}

/* 暗色主题适配 */
.dark-theme .compact-table th {
  background-color: #2c3039;
  color: #e0e0e0;
  text-align: center;
}

.dark-theme .compact-table .compact-row:hover {
  background-color: #363b48 !important;
}

.compact-table .status-container {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
} 